package com.yonyougov.devops.cruxcisupport.user.dto.controller;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

@Data
@ApiModel(value = "用户public key")
public class UserPublicKeyRequestDto {
    @NotNull
    @ApiModelProperty(value = "用户主键", required = true)
    private BigInteger id;

    @ApiModelProperty(value = "用户公钥")
    private String publicKey;
}
